No-redundant Metrics for UML Class Diagram Structural Complexity
نویسندگان
چکیده
In software engineering it is widely acknowledged that the usage of metrics at the initial phases of the object oriented software life cycle can help designers to make better decisions and to predict external quality attributes, such as maintainability. Following this idea we have carried out three controlled experiments to ascertain if any correlation exists between the structural complexity and the size of UML class diagrams and their maintainability. We used 8 metrics for measuring the structural complexity of class diagrams due to the usage of UML relationships, and 3 metrics to measure their size. With the aim of determining which of these metrics are really relevant to be used as class diagrams maintainability indicators, we present in this work a study based on Principal Component Analysis. The obtained results show that the metrics related to associations, aggregations, generalizations and dependencies, are the most relevant whilst those related to size seem to be redundant.
منابع مشابه
Defining Metrics for UML Statechart Diagrams in a Methodological Way
The fact that the usage of metrics at early phases of OO development can help designers make better decisions is gaining relevance. Moreover, the necessity of having early indicators of external quality attributes, such as understandability, based on early metrics is growing. There exists several works related to metrics for UML structural diagrams such as class diagrams. However, UML behaviora...
متن کاملMeasuring OCL expressions: a “tracing”-based approach
Owing that class diagrams constitute the backbone of object-oriented (OO) software development, many metrics were proposed to measure internal quality attributes such as the structural complexity, coupling, size, etc. But none of the proposed metrics take into account the added complexity when class diagrams are complemented by Object Constraint Language (OCL) expressions. OCL expressions impro...
متن کاملEmpirical Validation of Class Diagram Metrics
As a key early artefact in the development of OO software, the quality of class diagrams is crucial for all later design work and could be a major determinant for the quality of the software product that is finally delivered. Quantitative measurement instruments are useful to assess class diagram quality in an objective way, thus avoiding bias in the quality evaluation process. This paper prese...
متن کاملAn Empirical Study to Validate Metrics for Class Diagrams
One of the principal objectives of software engineering is to improve the quality of software products. Quality assurance must be guaranteed from the early stages of the software development life cycle, focusing on high-level design artifacts like class diagrams. Indeed, class diagrams constitute the backbone of objectoriented information systems (OOIS) so, their quality has a great impact on t...
متن کاملDefining and Validating Metrics for UML Statechart Diagrams
Maintainability is an increasingly relevant quality aspect in the development of object oriented software systems (OOSS). It is generally accepted that OOSS maintainability is highly dependent on the decisions made early in the development life cycle. Conceptual modelling is an important task of this early development. So that the maintainability of conceptual models have a great influence on t...
متن کامل